import service from '@/utils/request'

export const xmgwcontent = () => {
  return service({
    url: '/xmgw/xmgwcontent',
    method: 'post'
  })
}

export const xmgwGetidContent = (params) => {
  return service({
    url:'/xmgw/xmgwGetidContent',
    method:'get',
    params
  })
}

export const xmgwCreateContent = (data) => {
  return service({
    url:'/xmgw/xmgwCreateContent',
    method:'post',
    data
  })
}

export const xmgwDeleteContent = (params) => {
  return service({
    url:'/xmgw/xmgwDeleteContent',
    method:'delete',
    params
  })
}

export const xmgwUpdateContent = (data) => {
  return service({
    url:'/xmgw/xmgwUpdateContent',
    method:'put',
    data
  })
}